//获得在线天数
export function getOnlineTime(time: string): number {
    const end = Date.parse(new Date().toString());
    const start = Date.parse(time);
    return parseInt(String((end - start) / (1000 * 60 * 60 * 24)))
}